package com.util;

public class Shelf {
	private double x, y;
	private String begId, endId;

	public Shelf(double x, double y, String begId, String endId) {
		this.x = x;
		this.y = y;
		this.begId = begId;
		this.endId = endId;
	}

	public double getX() {
		return x;
	}

	public double getY() {
		return y;
	}

	public String getBegId() {
		return begId;
	}

	public String getEndId() {
		return endId;
	}

	public void setBegId(String begId) {
		this.begId = begId;
	}

	public void setEndId(String endId) {
		this.endId = endId;
	}

	public void copy(Shelf s) {
		this.x = s.getX();
		this.y = s.getY();
		this.begId = s.getBegId();
		this.endId = s.getEndId();
	}
}
